import { createApp } from 'vue'
import App from './App.vue'

/**
 * 引入elementPlus以及所有图标
 */
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
/**
 * 创建app
 */
const app = createApp(App)
/**
 * 使用elementPlus
 */
app.use(ElementPlus) 
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
/**
 * 挂载app
 */
app.mount('#app')
